Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[web-app] Move generic cookie steps to a common parent class #5604

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

valfirst
Copy link
Collaborator

No description provided.

@valfirst valfirst requested a review from a team as a code owner December 18, 2024 15:42
Copy link

github-actions bot commented Dec 18, 2024

Qodana for JVM

2 new problems were found

Inspection name Severity Problems
Incorrect constructor injection in XML Spring bean 🔴 Failure 2

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

@@ -66,7 +66,7 @@

<bean class="org.vividus.ui.web.playwright.screenshot.PlaywrightScreenshotTaker" />

<bean id="cookieSteps" class="org.vividus.ui.web.playwright.steps.CookieSteps" />
<bean id="cookieSteps" class="org.vividus.ui.web.playwright.steps.PlaywrightCookieSteps" />

Check failure

Code scanning / QDJVM

Incorrect constructor injection in XML Spring bean Error

No matching constructor found in class 'PlaywrightCookieSteps'#treeend |---------------------------------------|---|------------------------------------------|
| PlaywrightCookieSteps(...): | | Bean: |
| UiContext uiContext | | Autowired: null(UiContext) |
| CookieManager<Cookie> cookieManager | | Autowired: null(PlaywrightCookieManager) |
| VariableContext variableContext | | ??? |
| JsonUtils jsonUtils | | ??? |
| ISoftAssert softAssert | | ??? |
@@ -179,7 +179,7 @@
<bean id="alertSteps" class="org.vividus.steps.ui.web.AlertSteps" />
<bean id="buttonSteps" class="org.vividus.steps.ui.web.RadioButtonSteps" />
<bean id="codeSteps" class="org.vividus.steps.ui.web.CodeSteps" />
<bean id="cookieSteps" class="org.vividus.steps.ui.web.CookieSteps" />
<bean id="cookieSteps" class="org.vividus.steps.ui.web.SeleniumCookieSteps" />

Check failure

Code scanning / QDJVM

Incorrect constructor injection in XML Spring bean Error

No matching constructor found in class 'SeleniumCookieSteps'#treeend |---------------------------------------|---|--------------------------------------------------|
| SeleniumCookieSteps(...): | | Bean: |
| IWebDriverProvider webDriverProvider | | ??? |
| CookieManager<Cookie> cookieManager | | Autowired: cookieManager(WebDriverCookieManager) |
| INavigateActions navigateActions | | Autowired: navigateActions(NavigateActions) |
| VariableContext variableContext | | ??? |
| JsonUtils jsonUtils | | ??? |
| ISoftAssert softAssert | | ??? |
Copy link

codecov bot commented Dec 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.69%. Comparing base (c44212d) to head (d4f69bf).
Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5604      +/-   ##
============================================
- Coverage     97.69%   97.69%   -0.01%     
+ Complexity     7372     7366       -6     
============================================
  Files           987      988       +1     
  Lines         20675    20664      -11     
  Branches       1353     1351       -2     
============================================
- Hits          20199    20188      -11     
  Misses          364      364              
  Partials        112      112              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@valfirst valfirst force-pushed the move-common-cookie-steps-to-a-common-parent-class branch from 6fe2505 to 86bada8 Compare December 18, 2024 19:45
@valfirst valfirst force-pushed the move-common-cookie-steps-to-a-common-parent-class branch from 86bada8 to d4f69bf Compare December 18, 2024 20:17
@valfirst valfirst merged commit b0edd12 into master Dec 19, 2024
10 of 11 checks passed
@valfirst valfirst deleted the move-common-cookie-steps-to-a-common-parent-class branch December 19, 2024 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant